#!/usr/bin/python3

import os
import shutil

dn = "../python3/lineage_stage4"
for fn in os.listdir(dn):
    fullfn = os.path.join(dn, fn)
    if os.path.isdir(fullfn):
        continue
    dstfullfn = os.path.join("/usr/lib/python3.12/site-packages/lineage_stage4", fn)
    shutil.copy(fullfn, dstfullfn)
    print(dstfullfn)

dn = "../python3/lineage_stage4/dev_sony_suzuran"
for fn in os.listdir(dn):
    fullfn = os.path.join(dn, fn)
    if os.path.isdir(fullfn):
        continue
    dstfullfn = os.path.join("/usr/lib/python3.12/site-packages/lineage_stage4/dev_sony_suzuran", fn)
    shutil.copy(fullfn, dstfullfn)
    print(dstfullfn)
